package com.ecoolex.union.pay.retailer.entity;

import com.ecoolex.framework.common.annotation.Description;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.springframework.lang.NonNull;

public class PaymentChannelConfigExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer offset;

    protected Integer rows;

    public PaymentChannelConfigExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public PaymentChannelConfigExample orderBy(String orderByClause) {
        this.setOrderByClause(orderByClause);
        return this;
    }

    public PaymentChannelConfigExample orderBy(String ... orderByClauses) {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < orderByClauses.length; i++) {
            sb.append(orderByClauses[i]);
            if (i < orderByClauses.length - 1) {
                sb.append(" , ");
            }
        }
        this.setOrderByClause(sb.toString());
        return this;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria(this);
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
        rows = null;
        offset = null;
    }

    public static Criteria newAndCreateCriteria() {
        PaymentChannelConfigExample example = new PaymentChannelConfigExample();
        return example.createCriteria();
    }

    public PaymentChannelConfigExample when(boolean condition, IExampleWhen then) {
        if (condition) {
            then.example(this);
        }
        return this;
    }

    public PaymentChannelConfigExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
        if (condition) {
            then.example(this);
        } else {
            otherwise.example(this);
        }
        return this;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return this.offset;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public Integer getRows() {
        return this.rows;
    }

    public PaymentChannelConfigExample limit(Integer rows) {
        this.rows = rows;
        return this;
    }

    public PaymentChannelConfigExample limit(Integer offset, Integer rows) {
        this.offset = offset;
        this.rows = rows;
        return this;
    }

    public PaymentChannelConfigExample page(Integer page, Integer pageSize) {
        this.offset = page * pageSize;
        this.rows = pageSize;
        return this;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andPayTypeIsNull() {
            addCriterion("paymentchannelconfig.PayType is null");
            return (Criteria) this;
        }

        public Criteria andPayTypeIsNotNull() {
            addCriterion("paymentchannelconfig.PayType is not null");
            return (Criteria) this;
        }

        public Criteria andPayTypeEqualTo(Integer value) {
            addCriterion("paymentchannelconfig.PayType =", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.PayType = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPayTypeNotEqualTo(Integer value) {
            addCriterion("paymentchannelconfig.PayType <>", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.PayType <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPayTypeGreaterThan(Integer value) {
            addCriterion("paymentchannelconfig.PayType >", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeGreaterThanColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.PayType > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPayTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("paymentchannelconfig.PayType >=", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeGreaterThanOrEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.PayType >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPayTypeLessThan(Integer value) {
            addCriterion("paymentchannelconfig.PayType <", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeLessThanColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.PayType < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPayTypeLessThanOrEqualTo(Integer value) {
            addCriterion("paymentchannelconfig.PayType <=", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeLessThanOrEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.PayType <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPayTypeIn(List<Integer> values) {
            addCriterion("paymentchannelconfig.PayType in", values, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotIn(List<Integer> values) {
            addCriterion("paymentchannelconfig.PayType not in", values, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeBetween(Integer value1, Integer value2) {
            addCriterion("paymentchannelconfig.PayType between", value1, value2, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("paymentchannelconfig.PayType not between", value1, value2, "payType");
            return (Criteria) this;
        }

        public Criteria andUrlIsNull() {
            addCriterion("paymentchannelconfig.Url is null");
            return (Criteria) this;
        }

        public Criteria andUrlIsNotNull() {
            addCriterion("paymentchannelconfig.Url is not null");
            return (Criteria) this;
        }

        public Criteria andUrlEqualTo(String value) {
            addCriterion("paymentchannelconfig.Url =", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.Url = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUrlNotEqualTo(String value) {
            addCriterion("paymentchannelconfig.Url <>", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.Url <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUrlGreaterThan(String value) {
            addCriterion("paymentchannelconfig.Url >", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlGreaterThanColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.Url > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUrlGreaterThanOrEqualTo(String value) {
            addCriterion("paymentchannelconfig.Url >=", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlGreaterThanOrEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.Url >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUrlLessThan(String value) {
            addCriterion("paymentchannelconfig.Url <", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLessThanColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.Url < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUrlLessThanOrEqualTo(String value) {
            addCriterion("paymentchannelconfig.Url <=", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLessThanOrEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.Url <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUrlLike(String value) {
            addCriterion("paymentchannelconfig.Url like", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotLike(String value) {
            addCriterion("paymentchannelconfig.Url not like", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlIn(List<String> values) {
            addCriterion("paymentchannelconfig.Url in", values, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotIn(List<String> values) {
            addCriterion("paymentchannelconfig.Url not in", values, "url");
            return (Criteria) this;
        }

        public Criteria andUrlBetween(String value1, String value2) {
            addCriterion("paymentchannelconfig.Url between", value1, value2, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotBetween(String value1, String value2) {
            addCriterion("paymentchannelconfig.Url not between", value1, value2, "url");
            return (Criteria) this;
        }

        public Criteria andMerchantIdIsNull() {
            addCriterion("paymentchannelconfig.MerchantId is null");
            return (Criteria) this;
        }

        public Criteria andMerchantIdIsNotNull() {
            addCriterion("paymentchannelconfig.MerchantId is not null");
            return (Criteria) this;
        }

        public Criteria andMerchantIdEqualTo(String value) {
            addCriterion("paymentchannelconfig.MerchantId =", value, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.MerchantId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMerchantIdNotEqualTo(String value) {
            addCriterion("paymentchannelconfig.MerchantId <>", value, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNotEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.MerchantId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMerchantIdGreaterThan(String value) {
            addCriterion("paymentchannelconfig.MerchantId >", value, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdGreaterThanColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.MerchantId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMerchantIdGreaterThanOrEqualTo(String value) {
            addCriterion("paymentchannelconfig.MerchantId >=", value, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdGreaterThanOrEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.MerchantId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMerchantIdLessThan(String value) {
            addCriterion("paymentchannelconfig.MerchantId <", value, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdLessThanColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.MerchantId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMerchantIdLessThanOrEqualTo(String value) {
            addCriterion("paymentchannelconfig.MerchantId <=", value, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdLessThanOrEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.MerchantId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMerchantIdLike(String value) {
            addCriterion("paymentchannelconfig.MerchantId like", value, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNotLike(String value) {
            addCriterion("paymentchannelconfig.MerchantId not like", value, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdIn(List<String> values) {
            addCriterion("paymentchannelconfig.MerchantId in", values, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNotIn(List<String> values) {
            addCriterion("paymentchannelconfig.MerchantId not in", values, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdBetween(String value1, String value2) {
            addCriterion("paymentchannelconfig.MerchantId between", value1, value2, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNotBetween(String value1, String value2) {
            addCriterion("paymentchannelconfig.MerchantId not between", value1, value2, "merchantId");
            return (Criteria) this;
        }

        public Criteria andPayForwardUrlIsNull() {
            addCriterion("paymentchannelconfig.PayForwardUrl is null");
            return (Criteria) this;
        }

        public Criteria andPayForwardUrlIsNotNull() {
            addCriterion("paymentchannelconfig.PayForwardUrl is not null");
            return (Criteria) this;
        }

        public Criteria andPayForwardUrlEqualTo(String value) {
            addCriterion("paymentchannelconfig.PayForwardUrl =", value, "payForwardUrl");
            return (Criteria) this;
        }

        public Criteria andPayForwardUrlEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.PayForwardUrl = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPayForwardUrlNotEqualTo(String value) {
            addCriterion("paymentchannelconfig.PayForwardUrl <>", value, "payForwardUrl");
            return (Criteria) this;
        }

        public Criteria andPayForwardUrlNotEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.PayForwardUrl <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPayForwardUrlGreaterThan(String value) {
            addCriterion("paymentchannelconfig.PayForwardUrl >", value, "payForwardUrl");
            return (Criteria) this;
        }

        public Criteria andPayForwardUrlGreaterThanColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.PayForwardUrl > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPayForwardUrlGreaterThanOrEqualTo(String value) {
            addCriterion("paymentchannelconfig.PayForwardUrl >=", value, "payForwardUrl");
            return (Criteria) this;
        }

        public Criteria andPayForwardUrlGreaterThanOrEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.PayForwardUrl >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPayForwardUrlLessThan(String value) {
            addCriterion("paymentchannelconfig.PayForwardUrl <", value, "payForwardUrl");
            return (Criteria) this;
        }

        public Criteria andPayForwardUrlLessThanColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.PayForwardUrl < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPayForwardUrlLessThanOrEqualTo(String value) {
            addCriterion("paymentchannelconfig.PayForwardUrl <=", value, "payForwardUrl");
            return (Criteria) this;
        }

        public Criteria andPayForwardUrlLessThanOrEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.PayForwardUrl <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPayForwardUrlLike(String value) {
            addCriterion("paymentchannelconfig.PayForwardUrl like", value, "payForwardUrl");
            return (Criteria) this;
        }

        public Criteria andPayForwardUrlNotLike(String value) {
            addCriterion("paymentchannelconfig.PayForwardUrl not like", value, "payForwardUrl");
            return (Criteria) this;
        }

        public Criteria andPayForwardUrlIn(List<String> values) {
            addCriterion("paymentchannelconfig.PayForwardUrl in", values, "payForwardUrl");
            return (Criteria) this;
        }

        public Criteria andPayForwardUrlNotIn(List<String> values) {
            addCriterion("paymentchannelconfig.PayForwardUrl not in", values, "payForwardUrl");
            return (Criteria) this;
        }

        public Criteria andPayForwardUrlBetween(String value1, String value2) {
            addCriterion("paymentchannelconfig.PayForwardUrl between", value1, value2, "payForwardUrl");
            return (Criteria) this;
        }

        public Criteria andPayForwardUrlNotBetween(String value1, String value2) {
            addCriterion("paymentchannelconfig.PayForwardUrl not between", value1, value2, "payForwardUrl");
            return (Criteria) this;
        }

        public Criteria andPayNotifyUrlIsNull() {
            addCriterion("paymentchannelconfig.PayNotifyUrl is null");
            return (Criteria) this;
        }

        public Criteria andPayNotifyUrlIsNotNull() {
            addCriterion("paymentchannelconfig.PayNotifyUrl is not null");
            return (Criteria) this;
        }

        public Criteria andPayNotifyUrlEqualTo(String value) {
            addCriterion("paymentchannelconfig.PayNotifyUrl =", value, "payNotifyUrl");
            return (Criteria) this;
        }

        public Criteria andPayNotifyUrlEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.PayNotifyUrl = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPayNotifyUrlNotEqualTo(String value) {
            addCriterion("paymentchannelconfig.PayNotifyUrl <>", value, "payNotifyUrl");
            return (Criteria) this;
        }

        public Criteria andPayNotifyUrlNotEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.PayNotifyUrl <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPayNotifyUrlGreaterThan(String value) {
            addCriterion("paymentchannelconfig.PayNotifyUrl >", value, "payNotifyUrl");
            return (Criteria) this;
        }

        public Criteria andPayNotifyUrlGreaterThanColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.PayNotifyUrl > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPayNotifyUrlGreaterThanOrEqualTo(String value) {
            addCriterion("paymentchannelconfig.PayNotifyUrl >=", value, "payNotifyUrl");
            return (Criteria) this;
        }

        public Criteria andPayNotifyUrlGreaterThanOrEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.PayNotifyUrl >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPayNotifyUrlLessThan(String value) {
            addCriterion("paymentchannelconfig.PayNotifyUrl <", value, "payNotifyUrl");
            return (Criteria) this;
        }

        public Criteria andPayNotifyUrlLessThanColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.PayNotifyUrl < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPayNotifyUrlLessThanOrEqualTo(String value) {
            addCriterion("paymentchannelconfig.PayNotifyUrl <=", value, "payNotifyUrl");
            return (Criteria) this;
        }

        public Criteria andPayNotifyUrlLessThanOrEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.PayNotifyUrl <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPayNotifyUrlLike(String value) {
            addCriterion("paymentchannelconfig.PayNotifyUrl like", value, "payNotifyUrl");
            return (Criteria) this;
        }

        public Criteria andPayNotifyUrlNotLike(String value) {
            addCriterion("paymentchannelconfig.PayNotifyUrl not like", value, "payNotifyUrl");
            return (Criteria) this;
        }

        public Criteria andPayNotifyUrlIn(List<String> values) {
            addCriterion("paymentchannelconfig.PayNotifyUrl in", values, "payNotifyUrl");
            return (Criteria) this;
        }

        public Criteria andPayNotifyUrlNotIn(List<String> values) {
            addCriterion("paymentchannelconfig.PayNotifyUrl not in", values, "payNotifyUrl");
            return (Criteria) this;
        }

        public Criteria andPayNotifyUrlBetween(String value1, String value2) {
            addCriterion("paymentchannelconfig.PayNotifyUrl between", value1, value2, "payNotifyUrl");
            return (Criteria) this;
        }

        public Criteria andPayNotifyUrlNotBetween(String value1, String value2) {
            addCriterion("paymentchannelconfig.PayNotifyUrl not between", value1, value2, "payNotifyUrl");
            return (Criteria) this;
        }

        public Criteria andApiIdIsNull() {
            addCriterion("paymentchannelconfig.ApiId is null");
            return (Criteria) this;
        }

        public Criteria andApiIdIsNotNull() {
            addCriterion("paymentchannelconfig.ApiId is not null");
            return (Criteria) this;
        }

        public Criteria andApiIdEqualTo(String value) {
            addCriterion("paymentchannelconfig.ApiId =", value, "apiId");
            return (Criteria) this;
        }

        public Criteria andApiIdEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.ApiId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andApiIdNotEqualTo(String value) {
            addCriterion("paymentchannelconfig.ApiId <>", value, "apiId");
            return (Criteria) this;
        }

        public Criteria andApiIdNotEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.ApiId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andApiIdGreaterThan(String value) {
            addCriterion("paymentchannelconfig.ApiId >", value, "apiId");
            return (Criteria) this;
        }

        public Criteria andApiIdGreaterThanColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.ApiId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andApiIdGreaterThanOrEqualTo(String value) {
            addCriterion("paymentchannelconfig.ApiId >=", value, "apiId");
            return (Criteria) this;
        }

        public Criteria andApiIdGreaterThanOrEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.ApiId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andApiIdLessThan(String value) {
            addCriterion("paymentchannelconfig.ApiId <", value, "apiId");
            return (Criteria) this;
        }

        public Criteria andApiIdLessThanColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.ApiId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andApiIdLessThanOrEqualTo(String value) {
            addCriterion("paymentchannelconfig.ApiId <=", value, "apiId");
            return (Criteria) this;
        }

        public Criteria andApiIdLessThanOrEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.ApiId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andApiIdLike(String value) {
            addCriterion("paymentchannelconfig.ApiId like", value, "apiId");
            return (Criteria) this;
        }

        public Criteria andApiIdNotLike(String value) {
            addCriterion("paymentchannelconfig.ApiId not like", value, "apiId");
            return (Criteria) this;
        }

        public Criteria andApiIdIn(List<String> values) {
            addCriterion("paymentchannelconfig.ApiId in", values, "apiId");
            return (Criteria) this;
        }

        public Criteria andApiIdNotIn(List<String> values) {
            addCriterion("paymentchannelconfig.ApiId not in", values, "apiId");
            return (Criteria) this;
        }

        public Criteria andApiIdBetween(String value1, String value2) {
            addCriterion("paymentchannelconfig.ApiId between", value1, value2, "apiId");
            return (Criteria) this;
        }

        public Criteria andApiIdNotBetween(String value1, String value2) {
            addCriterion("paymentchannelconfig.ApiId not between", value1, value2, "apiId");
            return (Criteria) this;
        }

        public Criteria andApiTokenIsNull() {
            addCriterion("paymentchannelconfig.ApiToken is null");
            return (Criteria) this;
        }

        public Criteria andApiTokenIsNotNull() {
            addCriterion("paymentchannelconfig.ApiToken is not null");
            return (Criteria) this;
        }

        public Criteria andApiTokenEqualTo(String value) {
            addCriterion("paymentchannelconfig.ApiToken =", value, "apiToken");
            return (Criteria) this;
        }

        public Criteria andApiTokenEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.ApiToken = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andApiTokenNotEqualTo(String value) {
            addCriterion("paymentchannelconfig.ApiToken <>", value, "apiToken");
            return (Criteria) this;
        }

        public Criteria andApiTokenNotEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.ApiToken <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andApiTokenGreaterThan(String value) {
            addCriterion("paymentchannelconfig.ApiToken >", value, "apiToken");
            return (Criteria) this;
        }

        public Criteria andApiTokenGreaterThanColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.ApiToken > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andApiTokenGreaterThanOrEqualTo(String value) {
            addCriterion("paymentchannelconfig.ApiToken >=", value, "apiToken");
            return (Criteria) this;
        }

        public Criteria andApiTokenGreaterThanOrEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.ApiToken >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andApiTokenLessThan(String value) {
            addCriterion("paymentchannelconfig.ApiToken <", value, "apiToken");
            return (Criteria) this;
        }

        public Criteria andApiTokenLessThanColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.ApiToken < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andApiTokenLessThanOrEqualTo(String value) {
            addCriterion("paymentchannelconfig.ApiToken <=", value, "apiToken");
            return (Criteria) this;
        }

        public Criteria andApiTokenLessThanOrEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.ApiToken <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andApiTokenLike(String value) {
            addCriterion("paymentchannelconfig.ApiToken like", value, "apiToken");
            return (Criteria) this;
        }

        public Criteria andApiTokenNotLike(String value) {
            addCriterion("paymentchannelconfig.ApiToken not like", value, "apiToken");
            return (Criteria) this;
        }

        public Criteria andApiTokenIn(List<String> values) {
            addCriterion("paymentchannelconfig.ApiToken in", values, "apiToken");
            return (Criteria) this;
        }

        public Criteria andApiTokenNotIn(List<String> values) {
            addCriterion("paymentchannelconfig.ApiToken not in", values, "apiToken");
            return (Criteria) this;
        }

        public Criteria andApiTokenBetween(String value1, String value2) {
            addCriterion("paymentchannelconfig.ApiToken between", value1, value2, "apiToken");
            return (Criteria) this;
        }

        public Criteria andApiTokenNotBetween(String value1, String value2) {
            addCriterion("paymentchannelconfig.ApiToken not between", value1, value2, "apiToken");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNull() {
            addCriterion("paymentchannelconfig.Deleted is null");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNotNull() {
            addCriterion("paymentchannelconfig.Deleted is not null");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualTo(Boolean value) {
            addCriterion("paymentchannelconfig.Deleted =", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.Deleted = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualTo(Boolean value) {
            addCriterion("paymentchannelconfig.Deleted <>", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.Deleted <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThan(Boolean value) {
            addCriterion("paymentchannelconfig.Deleted >", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.Deleted > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("paymentchannelconfig.Deleted >=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.Deleted >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThan(Boolean value) {
            addCriterion("paymentchannelconfig.Deleted <", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.Deleted < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
            addCriterion("paymentchannelconfig.Deleted <=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.Deleted <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedIn(List<Boolean> values) {
            addCriterion("paymentchannelconfig.Deleted in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotIn(List<Boolean> values) {
            addCriterion("paymentchannelconfig.Deleted not in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedBetween(Boolean value1, Boolean value2) {
            addCriterion("paymentchannelconfig.Deleted between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("paymentchannelconfig.Deleted not between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("paymentchannelconfig.`CreateUser` is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("paymentchannelconfig.`CreateUser` is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("paymentchannelconfig.`CreateUser` =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.`CreateUser` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("paymentchannelconfig.`CreateUser` <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.`CreateUser` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("paymentchannelconfig.`CreateUser` >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.`CreateUser` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("paymentchannelconfig.`CreateUser` >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.`CreateUser` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("paymentchannelconfig.`CreateUser` <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.`CreateUser` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("paymentchannelconfig.`CreateUser` <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.`CreateUser` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("paymentchannelconfig.`CreateUser` like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("paymentchannelconfig.`CreateUser` not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("paymentchannelconfig.`CreateUser` in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("paymentchannelconfig.`CreateUser` not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("paymentchannelconfig.`CreateUser` between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("paymentchannelconfig.`CreateUser` not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("paymentchannelconfig.CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("paymentchannelconfig.CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("paymentchannelconfig.CreateTime =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.CreateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("paymentchannelconfig.CreateTime <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.CreateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("paymentchannelconfig.CreateTime >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.CreateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("paymentchannelconfig.CreateTime >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.CreateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("paymentchannelconfig.CreateTime <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.CreateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("paymentchannelconfig.CreateTime <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.CreateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("paymentchannelconfig.CreateTime in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("paymentchannelconfig.CreateTime not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("paymentchannelconfig.CreateTime between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("paymentchannelconfig.CreateTime not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("paymentchannelconfig.UpdateUser is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("paymentchannelconfig.UpdateUser is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(String value) {
            addCriterion("paymentchannelconfig.UpdateUser =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.UpdateUser = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(String value) {
            addCriterion("paymentchannelconfig.UpdateUser <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.UpdateUser <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(String value) {
            addCriterion("paymentchannelconfig.UpdateUser >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.UpdateUser > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            addCriterion("paymentchannelconfig.UpdateUser >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.UpdateUser >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(String value) {
            addCriterion("paymentchannelconfig.UpdateUser <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.UpdateUser < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(String value) {
            addCriterion("paymentchannelconfig.UpdateUser <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.UpdateUser <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLike(String value) {
            addCriterion("paymentchannelconfig.UpdateUser like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotLike(String value) {
            addCriterion("paymentchannelconfig.UpdateUser not like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<String> values) {
            addCriterion("paymentchannelconfig.UpdateUser in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<String> values) {
            addCriterion("paymentchannelconfig.UpdateUser not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(String value1, String value2) {
            addCriterion("paymentchannelconfig.UpdateUser between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(String value1, String value2) {
            addCriterion("paymentchannelconfig.UpdateUser not between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("paymentchannelconfig.UpdateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("paymentchannelconfig.UpdateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("paymentchannelconfig.UpdateTime =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.UpdateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("paymentchannelconfig.UpdateTime <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.UpdateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("paymentchannelconfig.UpdateTime >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.UpdateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("paymentchannelconfig.UpdateTime >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.UpdateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("paymentchannelconfig.UpdateTime <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.UpdateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("paymentchannelconfig.UpdateTime <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualToColumn(PaymentChannelConfig.Column column) {
            addCriterion(new StringBuilder("paymentchannelconfig.UpdateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("paymentchannelconfig.UpdateTime in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("paymentchannelconfig.UpdateTime not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("paymentchannelconfig.UpdateTime between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("paymentchannelconfig.UpdateTime not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        private PaymentChannelConfigExample example;

        protected Criteria(PaymentChannelConfigExample example) {
            super();
            this.example = example;
        }

        public PaymentChannelConfigExample example() {
            return this.example;
        }

        @Deprecated
        public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
            if (ifAdd) {
                add.add(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then) {
            if (condition) {
                then.criteria(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
            if (condition) {
                then.criteria(this);
            } else {
                otherwise.criteria(this);
            }
            return this;
        }

        public Criteria andLogicalDeleted(boolean deleted) {
            return deleted ? andDeletedEqualTo(PaymentChannelConfig.Deleted.IS_DELETED.value()) : andDeletedNotEqualTo(PaymentChannelConfig.Deleted.IS_DELETED.value());
        }

        @Deprecated
        public interface ICriteriaAdd {
            Criteria add(Criteria add);
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }

    public interface ICriteriaWhen {
        void criteria(Criteria criteria);
    }

    public interface IExampleWhen {
        void example(com.ecoolex.union.pay.retailer.entity.PaymentChannelConfigExample example);
    }
}